package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.ContractAudit;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ContractAuditMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ContractAudit record);

    ContractAudit selectByPrimaryKey(Long id);

    List<ContractAudit> selectAll();

    int updateByPrimaryKey(ContractAudit record);

    void changeInstanceId(@Param("id") Long id, @Param("instanceId") String instanceId);

    ContractAudit selectByContractId(Long id);

    void changeStatus(@Param("id") Long id, @Param("AuditStatus") Integer AuditStatus);

    void changeAuditTime(@Param("id") Long id, @Param("date") Date date);
}